<% layout('/layouts/list.html', {title: '课程'}){ %>
<#grid:grid id="courseGridId" url="${adminPath}/sys/forum/course/ajaxList">
	<#grid:column label="sys.common.key" hidden="true"   name="id" width="100"/>
	<#grid:column label="sys.common.opt"  name="opt" formatter="button" width="100"/>
	<#grid:button groupname="opt" function="delete" />
		<#grid:column label="课程编号"  name="num" />
		<#grid:column label="课程类型"  name="type" query="true"  condition="eq"/>
		<#grid:column label="课程名"  name="cname"  query="true"  queryMode="input"  condition="like" />
		<#grid:column label="描述"  name="remarks" />
		<#grid:column label="删除标记"  name="delFlag"  dict="sf"/>
	<#grid:toolbar function="add"/>
	<#grid:toolbar function="update"/>
	<#grid:toolbar function="delete"/>
	
	<#grid:toolbar function="search"/>
	<#grid:toolbar function="reset"/>
</#grid:grid>
<% } %>